package com.example.weibowebcrawlerdemo.pojo;


import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_weibo")
@HeadRowHeight(30) //头部高度
@ContentRowHeight(20) //段落高度
public class Weibo {

    @ExcelProperty("ID")
    @ColumnWidth(15)
    private String id;

    @ExcelProperty("微博ID")
    @ColumnWidth(25)
    private String wid;

    @ExcelProperty("内容")
    @ColumnWidth(100)
    @TableField("wb_text")
    private String text;

    @ExcelProperty("评论数")
    @ColumnWidth(10)
    private String commentNum;

    @ExcelProperty("转发数")
    @ColumnWidth(10)
    private String forwardNum;

    @ExcelProperty("点赞数")
    @ColumnWidth(10)
    private String likeNum;

    @ExcelProperty("发布时间")
    @ColumnWidth(30)
    private String releaseTime;



}
